package com.bonc.modules.rpt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonc.modules.rpt.entity.AllCmpSatisAreaEntity;
import com.bonc.modules.rpt.entity.ComplainSatisfactionAreaEntity;
import com.bonc.modules.rpt.param.FixParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComplainSatisfationAreaDao extends BaseMapper<ComplainSatisfactionAreaEntity> {
    Page<AllCmpSatisAreaEntity> allPage(Page<Object> defaultPage, FixParam fixParam);

    List<AllCmpSatisAreaEntity> allList(FixParam fixParam);

    Page<ComplainSatisfactionAreaEntity> page(Page<Object> defaultPage, FixParam fixParam);

    List<ComplainSatisfactionAreaEntity> list(FixParam fixParam);

    String getMaxMonth();
}
